]> dgit.raspbian.org Git - gnome-shell.git/commit
inputMethod: Use forward_key() method to forward key events
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 27 Sep 2018 19:09:02 +0000 (21:09 +0200)
committerCarlos Garnacho <mrgarnacho@gmail.com>
Mon, 8 Oct 2018 16:35:53 +0000 (16:35 +0000)
commitd44ffc115897ebcfb4783fa480afcda0218631c0
tree7a87da767ab18b6aa985ab6cd69244e6bbfdd4ee
parent501a1aff6846f8b6f8efef0a13bd527e568af425
inputMethod: Use forward_key() method to forward key events

ClutterVirtualInputDevice has the limitation that event flags won't be
made to contain CLUTTER_EVENT_FLAG_INPUT_METHOD, possibly causing feedback
loops.

As the event gets injected up the platform dependent bits, we can avoid
care on not pressing the same key twice, we still expect coherence between
key presses and releases from the IM though.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/531
js/misc/inputMethod.js